import { makeAutoObservable } from "mobx";
import * as playListApi from "../api/homepage";
class Store{
    
    constructor() {
        makeAutoObservable(this);
    }
    homepage = [];
    //更新精品歌单
    *getHome() {
        const res = yield playListApi.getHomepage();
        this.homepage = res;
    }
}
export default new Store();
